<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>会员信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="刘代应">
	<meta name="hashcode" content="-628125399">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-628125399";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("member.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建会员信息"
  			,"inport":"导入会员信息"
  			,"update":"修改会员信息"
  			,"detail":"会员信息详情"
  			
  			
			
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#memberForm").form({
		"":function(){}
		,"member.uid":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"member.username":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "用户名最大长度为32个字符";
		}
		,"member.password":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "密码最大长度为32个字符";
		}
		,"member.header":function(el){
		}
		,"member.nickName":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "昵称最大长度为32个字符";
		}
		,"member.realName":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "真实姓名最大长度为32个字符";
		}
		,"member.profile":function(el){
			if(el.value.length>200 && el.value.indexOf("[*]")==-1)
				return "个人简介最大长度为200个字符";
		}
		,"member.email":function(el){
			if(el.value.length>128 && el.value.indexOf("[*]")==-1)
				return "邮箱最大长度为128个字符";
		}
		,"member.mobile":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "手机最大长度为32个字符";
		}
		,"member.qq":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "QQ最大长度为32个字符";
		}
		,"member.sex":function(el){
		}
		,"member.place":function(el){
		}
		,"member.birthday":function(el){
		}
		,"member.mTop":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "上级最大长度为32个字符";
		}
		,"member.mToptop":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "上上级最大长度为32个字符";
		}
		,"member.tTop":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "上级编号最大长度为32个字符";
		}
		,"member.tToptop":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "上上级编号最大长度为32个字符";
		}
		,"member.distributor":function(el){
		}
		,"member.openid":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "openId不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "openId最大长度为32个字符";
		}
		,"member.authStatus":function(el){
		}
		,"member.invitationCode":function(el){
			if(el.value.length>512 && el.value.indexOf("[*]")==-1)
				return "邀请码最大长度为512个字符";
		}
		,"member.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"member.updateTime":function(el){
		}
		,"member.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>




<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="Member" id="memberForm" name="memberForm" target="jsoniframe" action="member.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt" style="display:none;">
				温馨提示：请仔细填写会员信息相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
			
			
					
	{{lz.set("uid_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"uid"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"uid"))))}}
	{{lz.set("uid_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$uid}}
	<dl lz:if="{{uid_editable||uid_readonly}}" class="uid hidden " major  ref="uid">
		<dt>用户编号:</dt>
		<dd lz:if="{{uid_editable}}" input="hidden">
			<lz:block lz:if="{{member$uid}}">
				{{member$uid}}
			</lz:block>
			<lz:block lz:if="{{!member$uid}}">
			<input type="hidden" value="{{lz.htm(member.uid)}}" name="member.uid" id="uid" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{uid_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="uid">{{member.uid}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.uid$||member.uid)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$uid}}
					
	{{lz.set("username_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"username"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"username"))))}}
	{{lz.set("username_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$username}}
	<dl lz:if="{{username_editable||username_readonly}}" class="ribs username  " minor  ref="username">
		<dt>用 户 名:</dt>
		<dd lz:if="{{username_editable}}" input="text">
			<lz:block lz:if="{{member$username}}">
				{{member$username}}
			</lz:block>
			<lz:block lz:if="{{!member$username}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.username" id="username"  value="{{lz.htm(member.username)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的用户名</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{username_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="username">{{member.username}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.username$||member.username)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$username}}
					
	{{lz.set("password_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"password"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"password"))))}}
	{{lz.set("password_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$password}}
	<dl lz:if="{{password_editable||password_readonly}}" class="ribs password  " minor  ref="password">
		<dt>密　　码:</dt>
		<dd lz:if="{{password_editable}}" input="text">
			<lz:block lz:if="{{member$password}}">
				{{member$password}}
			</lz:block>
			<lz:block lz:if="{{!member$password}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.password" id="password"  value="{{lz.htm(member.password)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的密码</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{password_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="password">{{member.password}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.password$||member.password)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$password}}
					
	{{lz.set("header_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"header"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"header"))))}}
	{{lz.set("header_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$header}}
	<dl lz:if="{{header_editable||header_readonly}}" class="ribs header   wider" minor  ref="header">
		<dt>头　　像:</dt>
		<dd lz:if="{{header_editable}}" input="image">
			<lz:block lz:if="{{member$header}}">
				{{member$header}}
			</lz:block>
			<lz:block lz:if="{{!member$header}}">
		    <input type="text" class="input" maxlength="128" size="32" name="member.header" id="header"  value="{{lz.htm(member.header)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#header').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#header').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#header').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 
	 	 <em>请上传会员信息的头像</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{header_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="header">{{member.header}}</textarea>
		 		<span>
		 	<img lz:if="{{member.header}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(member.header)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$header}}
					
	{{lz.set("nickName_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"nickName"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"nickName"))))}}
	{{lz.set("nickName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$nickName}}
	<dl lz:if="{{nickName_editable||nickName_readonly}}" class="ribs nickName  " major  ref="nickName">
		<dt>昵　　称:</dt>
		<dd lz:if="{{nickName_editable}}" input="text">
			<lz:block lz:if="{{member$nickName}}">
				{{member$nickName}}
			</lz:block>
			<lz:block lz:if="{{!member$nickName}}">
		 	<input type="text" class="input narrow"   name="member.nickName" id="nickName"  value="{{lz.htm(member.nickName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的昵称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{nickName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="nickName">{{member.nickName}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.nickName$||member.nickName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$nickName}}
					
	{{lz.set("realName_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"realName"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"realName"))))}}
	{{lz.set("realName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$realName}}
	<dl lz:if="{{realName_editable||realName_readonly}}" class="ribs realName  " major  ref="realName">
		<dt>真实姓名:</dt>
		<dd lz:if="{{realName_editable}}" input="text">
			<lz:block lz:if="{{member$realName}}">
				{{member$realName}}
			</lz:block>
			<lz:block lz:if="{{!member$realName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.realName" id="realName"  value="{{lz.htm(member.realName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的真实姓名</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{realName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="realName">{{member.realName}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.realName$||member.realName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$realName}}
					
	{{lz.set("profile_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"profile"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"profile"))))}}
	{{lz.set("profile_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$profile}}
	<dl lz:if="{{profile_editable||profile_readonly}}" class="ribs profile   wider" minor  ref="profile">
		<dt>个人简介:</dt>
		<dd lz:if="{{profile_editable}}" input="textarea">
			<lz:block lz:if="{{member$profile}}">
				{{member$profile}}
			</lz:block>
			<lz:block lz:if="{{!member$profile}}">
		 	<textarea class="input wide"  id="profile" name="member.profile" rows="5">{{member.profile}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的个人简介</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{profile_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(member.profile$||member.profile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$profile}}
					
	{{lz.set("email_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"email"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"email"))))}}
	{{lz.set("email_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$email}}
	<dl lz:if="{{email_editable||email_readonly}}" class="ribs email   mider" minor  ref="email">
		<dt>邮　　箱:</dt>
		<dd lz:if="{{email_editable}}" input="text">
			<lz:block lz:if="{{member$email}}">
				{{member$email}}
			</lz:block>
			<lz:block lz:if="{{!member$email}}">
		 	<input type="text" class="input mide"  maxlength="128" name="member.email" id="email"  value="{{lz.htm(member.email)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的邮箱</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{email_readonly}}">
		 	<div class="state-input mide">
		 		<textarea class=""  style="display:none;" id="email">{{member.email}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.email$||member.email)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$email}}
					
	{{lz.set("mobile_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"mobile"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"mobile"))))}}
	{{lz.set("mobile_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="ribs mobile  " major  ref="mobile">
		<dt>手　　机:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{member$mobile}}">
				{{member$mobile}}
			</lz:block>
			<lz:block lz:if="{{!member$mobile}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.mobile" id="mobile"  value="{{lz.htm(member.mobile)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的手机</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{member.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.mobile$||member.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
					
	{{lz.set("qq_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"qq"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"qq"))))}}
	{{lz.set("qq_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$qq}}
	<dl lz:if="{{qq_editable||qq_readonly}}" class="ribs qq  " minor  ref="qq">
		<dt>Q　　Q:</dt>
		<dd lz:if="{{qq_editable}}" input="text">
			<lz:block lz:if="{{member$qq}}">
				{{member$qq}}
			</lz:block>
			<lz:block lz:if="{{!member$qq}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.qq" id="qq"  value="{{lz.htm(member.qq)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的QQ</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{qq_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="qq">{{member.qq}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.qq$||member.qq)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$qq}}
					
	{{lz.set("sex_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sex"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sex"))))}}
	{{lz.set("sex_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$sex}}
	<dl lz:if="{{sex_editable||sex_readonly}}" class="ribs sex  " minor  ref="sex">
		<dt>性　　别:</dt>
		<dd lz:if="{{sex_editable}}" input="select">
			<lz:block lz:if="{{member$sex}}">
				{{member$sex}}
			</lz:block>
			<lz:block lz:if="{{!member$sex}}">
		 	<select class="narrow" id="sex" name="member.sex">
		 		<option value="">请选择</option>
				<option value="1" selected='{{member.sex=="1"?"selected":""}}'>男</option>
				<option value="0" selected='{{member.sex=="0"?"selected":""}}'>女</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择会员信息的性别</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sex_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sex">{{member.sex}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.sex$||member.sex)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sex}}
					
	{{lz.set("place_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"place"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"place"))))}}
	{{lz.set("place_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$place}}
	<dl lz:if="{{place_editable||place_readonly}}" class="ribs place  " minor  ref="place">
		<dt>所 在 地:</dt>
		<dd lz:if="{{place_editable}}" input="query">
			<lz:block lz:if="{{member$place}}">
				{{member$place}}
			</lz:block>
			<lz:block lz:if="{{!member$place}}">
		 			<input title="请输入省市地区名称进行查询" class="combox narrow" action="/admin/setting/region.query.do?value={param}" type="text" id="place" name="member.place" text="{{lz.html(member.place$||member.place)}}" value="{{lz.htm(member.place)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#place').val())==''){return;};window.href('/admin/setting/region.detail.html?key='+$('#place').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{place_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="place">{{member.place}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/setting/region.details.html?key=member.place}')">
			 {{lz.html(member.place$||member.place)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$place}}
					
	{{lz.set("birthday_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"birthday"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"birthday"))))}}
	{{lz.set("birthday_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$birthday}}
	<dl lz:if="{{birthday_editable||birthday_readonly}}" class="ribs birthday  " minor  ref="birthday">
		<dt>生　　日:</dt>
		<dd lz:if="{{birthday_editable}}" input="date">
			<lz:block lz:if="{{member$birthday}}">
				{{member$birthday}}
			</lz:block>
			<lz:block lz:if="{{!member$birthday}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" type="text" class="date input narrow" maxlength="19" name="member.birthday" id="birthday"  value="{{member.birthday$}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请选择会员信息的生日</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{birthday_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="birthday">{{member.birthday}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.birthday$||member.birthday)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$birthday}}
					
	{{lz.set("mTop_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"mTop"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"mTop"))))}}
	{{lz.set("mTop_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$mTop}}
	<dl lz:if="{{mTop_editable||mTop_readonly}}" class="ribs mTop  " major  ref="mTop">
		<dt>上　　级:</dt>
		<dd lz:if="{{mTop_editable}}" input="text">
			<lz:block lz:if="{{member$mTop}}">
				{{member$mTop}}
			</lz:block>
			<lz:block lz:if="{{!member$mTop}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.mTop" id="mTop"  value="{{lz.htm(member.mTop)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的上级</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mTop_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mTop">{{member.mTop}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.mTop$||member.mTop)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mTop}}
					
	{{lz.set("mToptop_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"mToptop"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"mToptop"))))}}
	{{lz.set("mToptop_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$mToptop}}
	<dl lz:if="{{mToptop_editable||mToptop_readonly}}" class="ribs mToptop  " major  ref="mToptop">
		<dt>上 上 级:</dt>
		<dd lz:if="{{mToptop_editable}}" input="text">
			<lz:block lz:if="{{member$mToptop}}">
				{{member$mToptop}}
			</lz:block>
			<lz:block lz:if="{{!member$mToptop}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.mToptop" id="mToptop"  value="{{lz.htm(member.mToptop)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的上上级</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mToptop_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mToptop">{{member.mToptop}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.mToptop$||member.mToptop)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mToptop}}
					
	{{lz.set("tTop_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tTop"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tTop"))))}}
	{{lz.set("tTop_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tTop}}
	<dl lz:if="{{tTop_editable||tTop_readonly}}" class="ribs tTop  " major  ref="tTop">
		<dt>上级编号:</dt>
		<dd lz:if="{{tTop_editable}}" input="text">
			<lz:block lz:if="{{member$tTop}}">
				{{member$tTop}}
			</lz:block>
			<lz:block lz:if="{{!member$tTop}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.tTop" id="tTop"  value="{{lz.htm(member.tTop)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的上级编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tTop_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tTop">{{member.tTop}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.tTop$||member.tTop)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tTop}}
					
	{{lz.set("tToptop_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"tToptop"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"tToptop"))))}}
	{{lz.set("tToptop_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$tToptop}}
	<dl lz:if="{{tToptop_editable||tToptop_readonly}}" class="ribs tToptop  " major  ref="tToptop">
		<dt>上上级编号:</dt>
		<dd lz:if="{{tToptop_editable}}" input="text">
			<lz:block lz:if="{{member$tToptop}}">
				{{member$tToptop}}
			</lz:block>
			<lz:block lz:if="{{!member$tToptop}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.tToptop" id="tToptop"  value="{{lz.htm(member.tToptop)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入会员信息的上上级编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tToptop_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tToptop">{{member.tToptop}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.tToptop$||member.tToptop)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tToptop}}
					
	{{lz.set("distributor_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"distributor"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"distributor"))))}}
	{{lz.set("distributor_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$distributor}}
	<dl lz:if="{{distributor_editable||distributor_readonly}}" class="ribs distributor  " major  ref="distributor">
		<dt>配 送 商:</dt>
		<dd lz:if="{{distributor_editable}}" input="query">
			<lz:block lz:if="{{member$distributor}}">
				{{member$distributor}}
			</lz:block>
			<lz:block lz:if="{{!member$distributor}}">
		 			<input title="请输入配送商信息手机号进行查询" class="combox narrow" action="/admin/delivery/distributor.query.do?value={param}" type="text" id="distributor" name="member.distributor" text="{{lz.html(member.distributor$||member.distributor)}}" value="{{lz.htm(member.distributor)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#distributor').val())==''){return;};window.href('/admin/delivery/distributor.detail.html?key='+$('#distributor').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{distributor_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="distributor">{{member.distributor}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/delivery/distributor.details.html?key=member.distributor}')">
			 {{lz.html(member.distributor$||member.distributor)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$distributor}}
					
	{{lz.set("openid_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"openid"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"openid"))))}}
	{{lz.set("openid_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$openid}}
	<dl lz:if="{{openid_editable||openid_readonly}}" class="openid  " major  ref="openid">
		<dt>openId:</dt>
		<dd lz:if="{{openid_editable}}" input="text">
			<lz:block lz:if="{{member$openid}}">
				{{member$openid}}
			</lz:block>
			<lz:block lz:if="{{!member$openid}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="member.openid" id="openid"  value="{{lz.htm(member.openid)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入会员信息的openId</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{openid_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="openid">{{member.openid}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.openid$||member.openid)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$openid}}
					
	{{lz.set("authStatus_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"authStatus"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"authStatus"))))}}
	{{lz.set("authStatus_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$authStatus}}
	<dl lz:if="{{authStatus_editable||authStatus_readonly}}" class="ribs authStatus  " major  ref="authStatus">
		<dt>授权情况:</dt>
		<dd lz:if="{{authStatus_editable}}" input="select">
			<lz:block lz:if="{{member$authStatus}}">
				{{member$authStatus}}
			</lz:block>
			<lz:block lz:if="{{!member$authStatus}}">
		 	<select class="narrow" id="authStatus" name="member.authStatus">
		 		<option value="">请选择</option>
				<option value="0" selected='{{member.authStatus=="0"?"selected":""}}'>未授权</option>
				<option value="1" selected='{{member.authStatus=="1"?"selected":""}}'>已授权</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择会员信息的授权情况</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{authStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="authStatus">{{member.authStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.authStatus$||member.authStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$authStatus}}
					
	{{lz.set("addTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"addTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='detail'))}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{member$addTime}}">
				{{member$addTime}}
			</lz:block>
			<lz:block lz:if="{{!member$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="member.addTime" id="addTime"  value="{{member.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择会员信息的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{member.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.addTime$||member.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
					
	{{lz.set("updateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"updateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='detail'))}}
				
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " minor  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{member$updateTime}}">
				{{member$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!member$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="member.updateTime" id="updateTime"  value="{{member.updateTime$}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请选择会员信息的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{member.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.updateTime$||member.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
					
	{{lz.set("status_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"status"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{member$status}}">
				{{member$status}}
			</lz:block>
			<lz:block lz:if="{{!member$status}}">
		 	<select class="narrow" id="status" name="member.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{member.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{member.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择会员信息的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{member.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(member.status$||member.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{member.uid}}" name="member.uid" id="uid" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/users/member.edit.html?edittype=update&id={{member.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>





 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/users/member.edit.html",document.title,"/admin//images/icons/2008112220121595877809.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/users/member.edit.html");
		}else{
			$.closeModalDialog();
		}
	}



</script>
</html>